package tech.popsoft.cip.manage.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import tech.popsoft.platform.common.base.BaseEntity;

/**
 * 数据权限
 * @author wqliu
 * @date 2021-10-20
 *
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@TableName("ip_api_data_permission")
public class ApiDataPermission extends BaseEntity {

    private static final long serialVersionUID = 1L;

    /**
     * 应用标识
     */
    @TableField("app_id")
    private String appId;

    /**
     * 数据角色编码
     */
    @TableField("role_code")
    private String roleCode;

    /**
     * 业务编码
     */
    @TableField("business_code")
    private String businessCode;

    /**
     * 二级业务编码
     */
    @TableField("business_code_second")
    private String businessCodeSecond;

}
